<?php
class page_admin extends page_base {
	public function __construct($p) {
		parent::__construct($p);		
	}
	public function affiche(){
		if ($_SESSION ['admin'] == true)
		{
			parent::affiche();
		}
		else
		{
			header('Location: http://localhost/projetusep/index.php');
		}
	}
	
}
?>